import service from '@/api'

export function getUser(params) {
  return service({
    url:'/app/user',
    method:'GET',
    params
  })
}

//新增用户
export function addUser(params) {
  return service({
    url:'/app/addUserInfo',
    method:'POST',
    params
  })
}

export function editUser(params) {
  return service({
    url:'/app/editUserInfo',
    method:'POST',
    params
  })
}

export function delPeijian(params) {
  return service({
    url:'/app/delParts',
    method:'POST',
    params
  })
}

export function setShow(params) {
  return service({
    url:'/app/setShow',
    method:'POST',
    params
  })
}